<?xml version="1.0" encoding="utf-8"?>
<modification>
  <name>foc_auto_meta</name>
  <code>foc_auto_meta</code>
  <version>2.1.0.0</version>
  <author>ikenfin</author>
  <link>http://freeocart.ru</link>

  <!-- home page -->
  <file path="catalog/controller/common/home.php">
    <operation>
      <search><![CDATA[$data['column_left'] = $this->load->controller('common/column_left');]]></search>
      <add position="before"><![CDATA[
      $this->load->model('extension/module/foc_auto_meta');
      $this->model_extension_module_foc_auto_meta->processMetaByKey('home', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- product -->
  <file path="catalog/controller/product/product.php">
    <operation>
      <search><![CDATA[$this->model_catalog_product->updateViewed($this->request->get['product_id']);]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaTemplate('product', $product_info, $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- category -->
  <file path="catalog/controller/product/category.php">
    <operation>
      <search><![CDATA[$data['limit'] = $limit;]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaTemplate('category', $category_info, $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- information -->
  <file path="catalog/controller/information/information.php">
    <operation>
      <search><![CDATA[$this->document->setKeywords($information_info['meta_keyword']);]]></search>
      <add position="after"><![CDATA[
      $this->load->model('extension/module/foc_auto_meta');
      $this->model_extension_module_foc_auto_meta->processMetaTemplate('information', $information_info, $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- manufacturer page -->
  <file path="catalog/controller/product/manufacturer.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('manufacturer', $this->document);
      ]]></add>
    </operation>
    <operation>
      <search><![CDATA[$this->document->setTitle($manufacturer_info['name']);]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaTemplate('brand', $manufacturer_info, $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- voucher page -->
  <file path="catalog/controller/account/voucher.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('voucher', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- specials page -->
  <file path="catalog/controller/product/special.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('products_special', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- sitemap page -->
  <file path="catalog/controller/information/sitemap.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('sitemap', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- contacts page -->
  <file path="catalog/controller/information/contact.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('contacts_page', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- modules settings -->
  <!-- faq module page -->
  <file path="catalog/controller/module/faq.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($data['heading_title']);]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('faq', $this->document);
      ]]></add>
    </operation>
  </file>
  <!-- shop rating -->
  <file path="catalog/controller/information/shop_rating.php">
    <operation>
      <search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
      <add position="after"><![CDATA[
        $this->load->model('extension/module/foc_auto_meta');
        $this->model_extension_module_foc_auto_meta->processMetaByKey('reviews', $this->document);
      ]]></add>
    </operation>
  </file>
</modification>